-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Pagination numerical by default #2454
Conversation
Visit the preview URL for this PR (updated for commit cdc3a6a): https://jac-admin-develop--pr2454-ts-242-stat-con-repo-wgvowlxo.web.app (expires Sun, 21 Jul 2024 16:34:33 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 4e92cf51659207b0ae3509dc5c40edde50edfec0 |
@@ -156,7 +158,9 @@ export default { | |||
where('status', 'in', statuses) | |||
); | |||
params.orderBy = 'candidate.fullName'; | |||
firestoreRef = await tableQuery(this.applicationRecords, firestoreRef, params); | |||
const res = await tableAsyncQuery(this.applicationRecords, firestoreRef, params); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you pass null
as the 4th parameter, please? It will be like:
const res = await tableAsyncQuery(this.applicationRecords, firestoreRef, params, null);
What's included?
do-over of old branch with merge issues.
Alphabetical pagination on the stat-con report page was causing confusion with the stat-con download.
I have made the pagination numerical by default so this page should always load any results, reducing confusion.
Who should test?
✅ Product owner
✅ Developers
✅ UTG
How to test?
visit stat con page (exercise >> reports >> statutory-consultation)
ensure pagination is numerical on initial load.
Risk - how likely is this to impact other areas?
🟢 No risk - this is a self-contained piece of work
PREVIEW:DEVELOP
can be OFF, DEVELOP or STAGING